package tmproject.hlhj.fhp.tmvote.network

import android.content.Context
import rx.functions.Action0
import tmproject.hlhj.fhp.tmvote.BaseAty

/**
 * Created by Never Fear   on 2018\8\14 0014.
Never More....
 */
class LoadingAction(private val context: Context) :Action0 {
    override fun call() {
        if (context is BaseAty<*,*>){
            context.loadingDialog.show()
        }
    }
}